@charset "UTF-8";

#side-directory.side-directory {
  position: fixed;
  /* width: 22%; */
  width: 320px;
  top:0;
  right: -700px;
  -webkit-transition: right .3s ease;
  bottom: 0;
  height: auto;
  overflow: hidden;
  padding-top: 10px;
  z-index: 1050;
}
.side-directory.black {
  background-color: #282828;
  color: #fff;
  border-left: 1px solid #999;
}
.side-directory .sd-title {
  height: 45px;
  padding-left: 18px;
  padding-right: 15px;
  font-size: 16px;
  line-height: 45px;
}
.side-directory .sd-title>div {
  display: inline-block;
  width: calc(100% - 30px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.side-directory .sd-container {
  overflow:auto;
  overflow-x:hidden;
  /* height: calc(100% - 45px); */
  height: calc(100% - 55px);;
}
.side-directory .sd-container::-webkit-scrollbar {
  width: 5px;     /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}
.side-directory .sd-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  background: #535353;
}
.side-directory .sd-chapter>input[type=checkbox] {
  display: none;
}
.side-directory .sd-chapter>label.sd-chapter-hd {
  display:block;
  margin: 0;
  padding: 0;
  /* padding-left: 46px; */
  padding-left: 18px;
  padding-right: 15px;
  font-weight: normal;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
}
.side-directory .sd-chapter>label.sd-chapter-hd>div {
  display:inline-block;
  width: calc(100% - 48px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.side-directory .sd-lesson {
  display:block;
  margin: 0;
  padding: 0;
  padding-left: 18px;
  padding-right: 15px;
  font-weight: normal;
  height: 0px;
  line-height: 36px;
  overflow-y: hidden;
  -webkit-transition: height .3s ease;
  color: #999;
  cursor: pointer;
}
.side-directory .sd-lesson.status-active,
.side-directory .sd-lesson:hover {
  color: #6bcc3d;
  background-color: #3f3f3f;
}
.side-directory .sd-lesson.status-active {
  cursor: not-allowed;
}
.side-directory .sd-lesson>div {
  display: inline-block;
  height: 100%;
  width: calc(100% - 79px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.side-directory .sd-chapter>input[type=checkbox]:checked+label {
  /* color: green; */
}
.side-directory .sd-chapter>input[type=checkbox]:checked+label+div.sd-chapter-bd>.sd-lesson {
  height: 36px;
}
.side-directory i.sd-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
}
.side-directory i.sd-icon.sd-title-icon {
  cursor: pointer;
  background-image: url(../images/icon/dire_hide@2x.png);
  background-size: 100%;
}
.side-directory i.sd-icon.lesson_try {
  background-image: url(../images/icon/try@2x.png);
  background-size: 100%;
  background-position-x: 100px;
}
.side-directory i.sd-icon.lesson_try.is-show {
  background-position-x: 0;
}
.side-directory i.sd-icon.lesson-type {
  width: 12px;
  margin-right: 7px;
}
.side-directory i.sd-icon.lesson-status {
  background-size: 100%;
  margin-right: 0;
}
.side-directory i.sd-icon.lesson-status.learning {
  background-image: url(../images/icon/status_ing@2x.png);
}
.side-directory i.sd-icon.lesson-status.learned {
  background-image: url(../images/icon/status_over@2x.png);
}
.side-directory i.sd-icon.chapter-status {
  background-size: 100%;
  margin-right: 0;
}
.side-directory .sd-chapter>input[type=checkbox]+label>i.sd-icon.chapter-status {
  background-size: 12px auto;
  background-image: url(../images/icon/chapter_status_hide@2x.png);
}
.side-directory .sd-chapter>input[type=checkbox]:checked+label>i.sd-icon.chapter-status {
  background-size: auto 12px;
  background-image: url(../images/icon/chapter_status_show@2x.png);
}
